package com.liaowei.model.param;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class ArticleUserParam {
    @NotNull(message = "文章id不能为空")
    private Long articleId;
    @NotNull(message = "用户id不能为空")
    private Long userId;
    @Range(min = 0,max = 1)
    private Integer collectStatus;
    @Range(min = 0,max = 1)
    private Integer starStatus;
    @Range(min = 0,max = 1)
    private Integer commentStatus;
}
